package cn.wp.common.core.generate.meta;

import cn.hutool.core.util.StrUtil;
import lombok.Data;

/**
 * 表列属性
 * Created by chenyb on 2019/10/22
 */
@Data
public class TableColumn {

    private String code;

    private String fieldName;

    private String type;

    private String comment;

    public String getFieldName() {
        this.fieldName = StrUtil.toCamelCase(code);
        return fieldName;
    }
}
